package de.matusystems

class Application {

	//	static mapWith = "mongo"
	static expose = 'application'

	String name

	static hasMany = [users:User]

	static constraints = {
		name(blank:false, unique:true)
	}

	public String toString(){
		return name
	}
}
